﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/**
 * Error messages for localization
 * 
 * @version 1.0
 * @authors:
 *      Fabien DUCHENE f.duchene@car-online.fr
 */
namespace ChgPwd
{
    public class Language
    {
        public static readonly string AN_ERROR_OCCURED = "An error happened: ";
        public static readonly string YOU_CAN_ONLY_CHANGE_YOUR_OWN_PASSWORD = "You are only allowed to change your own password";
        public static readonly string COULD_NOT_CHANGE_PASSWORD = "Unable to change the password. You probably did not match the password policy complexity requirements ";
        public static readonly string PWD_DO_NOT_MATCH = "The entered password and the password confirmation do not match";
        public static readonly string NEW_PWD_IS_SAME_AS_OLD_ONE = "You cannot set the password to the same value as the old one";
        public static readonly string PWD_WASNT_CHANGED = "The password has not been changed. Either there is a permission problem, either it does not match the complexity, or history requirements.";
        public static readonly string PWD_COMPLEXITY_POLICY_CONTENT = "The password policy requires: an 8 characters long password, at least 3 different character classes ([0-9] [a-z] [A-Z] [,#@!:%...]). History: different from the last 1 password.";
        public static readonly string PWD_CHANGED = "The password was successfully changed";
    }
}